<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title></title>
</head>
<body>

</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>达达后台首页</title>
  <link rel="stylesheet" href="../layui/css/layui.css">
  <link rel="stylesheet" href="../css/global.css">
  <link rel="stylesheet" href="../css/admin.css">
  <script src="../layui/layui.js"></script>
  <script src="../js/home.js"></script>
</head>

<body class="layui-layout-body" style="font-family: 楷体_GB2312">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header" style="background-color: #302625">
    <div class="layui-logo"><img src="../image/naicha.png" alt="" id="logo">达达管理系统</div>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <span id="user"></span>
        </a>
        <dl class="layui-nav-child">
          <dd id="m11" class="subMenu"><a href="javascript:;" data-url="updatepwd.html">修改密码</a></dd>
          <dd class="subMenu"><a href="login.html" id="exit">退出登录</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="login.html">退出</a></li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree" lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="guanli" href="javascript:;"><img src="../image/main/gongnengguanli.png">功能管理</a>
          <dl class="layui-nav-child">
            <dd id="m2" class="subMenu"><a href="javascript:;" data-url="AdminInfo.html">管理员账号管理</a></dd>
            <dd id="m3" class="subMenu"><a href="javascript:;" data-url="ProductTypeInfo.html">奶茶类型表</a></dd>
            <dd id="m4" class="subMenu"><a href="javascript:;" data-url="PictureInfo.html">奶茶图片表</a></dd>
            <dd id="m8" class="subMenu"><a href="javascript:;" data-url="role.html">门面管理</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a class="guanli" href="javascript:;"><img src="../image/main/quanbushangping.png">商品管理</a>
          <dl class="layui-nav-child">
            <dd id="m5" class="subMenu"><a href="javascript:;" data-url=""><img src="../image/main/shangping.png">商品信息管理</a></dd>
            <dd id="m6" class="subMenu"><a href="javascript:;" data-url="TeaInfo.html"><img src="../image/main/shangping1.png">商品推荐管理</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a class="guanli" href="javascript:;"><img src="../image/main/quanbuyonhu.png">用户管理</a>
          <dl class="layui-nav-child">
            <dd id="m9" class="subMenu"><a href="javascript:;" data-url="CustomerInfo.html">用户信息管理</a></dd>
            <dd id="m10" class="subMenu"><a href="javascript:;" data-url="Account.html">用户账号管理</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a class="guanli" href="javascript:;"><img src="../image/main/quanbudingdan.png">订单管理</a>
          <dl class="layui-nav-child">
            <dd id="m12" class="subMenu"><a href="javascript:;" data-url="OrderInfo.html"><img src="../image/main/dingdan.png">订单信息管理</a></dd>
            <dd id="m13" class="subMenu"><a href="javascript:;" data-url="OrdersInfo.html"><img src="../image/main/diangdanmingxi.png">订单明细管理</a></dd>
          </dl>
        </li>

      </ul>
    </div>
  </div>

  <div class="layui-tab layui-tab-brief" lay-filter="demo" lay-allowclose="true">
    <ul class="layui-tab-title site-demo-title">
      <li id="homeTab" class="layui-this" lay-id="1">首页</li>2
    </ul>

    <div class="layui-body layui-tab-content site-demo site-demo-body" style="overflow: hidden;background-color: #dddddd">
      <div class="layui-tab-item layui-show" style="overflow-y:auto;">
        <iframe src="welcome.html" class="layadmin-iframe" frameborder="no" border="0" allowtransparency="yes"></iframe>
      </div>
    </div>
  </div>

  <!-- 提示文字 -->
  <div id="tooltip" style="display: none;"></div>
  <script>
    layui.use(function(){
      let $ = layui.jquery ;

      // 1.从 sessionStorage 中获取登录用户信息
      let adminStr = sessionStorage.getItem("adminInfoName")

      // // 2.DOM操作
      $("#user").text(adminStr)
    }) ;





  </script>

</div>
</body>
</html>